Tui-markdown
A library for converting markdown content to a Ratatui Text
value. See Markdown-reader for an
example application that uses this library.
GitHub Repository · API Docs · [Examples] · Changelog · Contributing
Installation
cargo add tui-markdown
Usage
let input = "# Heading\n\n**bold**"; // this can come from whereever
let text = from_str;
text.render;
Status
Initial implementation - this is very much WIP (see lib.rs todo!()
s)
- Headings
- Heading attributes / classes / anchors
- Normal paragraphs
- Block quotes
- Nested block quotes
- Bold (strong)
- Italic (emphasis)
- Strikethrough
- Ordered lists
- Unordered lists
- Code blocks
- Html
- Footnotes
- Tables
- Linebreak handling
- Rule
- Tasklists
- Links
- Images
- Metadata blocks